Python Selenium: Using css how do I make an if else statement

welcome to shbcf.ru